#ifndef TITLEWIDGET_H
#define TITLEWIDGET_H

#include <QWidget>
#include <QLabel>
#include "BaseWidget/pushbutton.h"
#include "BaseWidget/tool_button.h"

class TitleWidget : public QWidget
{
    Q_OBJECT
public:
    explicit TitleWidget(QWidget *parent = nullptr);

private:
    void initUI();
    void initConnection();
    void translateLanguage();

    QLabel *m_verTitle;

    PushButton *m_skinButton;
    PushButton *m_mainMenuButton;
    PushButton *m_minButton;
    PushButton *m_feedbackButton;
    PushButton *m_closeButton;
    PushButton *m_medalButton;

    QLabel *m_safe_360_label;
    QLabel *m_safe_label;

    QList<ToolButton *> m_buttonList;
signals:

    void showSkin();
    void showMin();
    void showMainMenu();
    void closeWidget();
    void turnPage(int current_page);

public slots:

    void turnPage(QString current_page);

public slots:
};

#endif // TITLEWIDGET_H
